package com.kkb.mybatis.config;

/**
 * User: zsl
 * Date: 2019/10/1215:05
 * Description: 封装select 等crud标签的信息
 */
public class MappedStatement {
    private String statementId;
    private Class<?> paramenterTypeClass;
    private Class<?> resultTypeClass;
    private String statementType;
    private SqlSource sqlSource;
    public MappedStatement() {
    }

    public MappedStatement(String statementId, Class<?> paramenterTypeClass, Class<?> resultTypeClass, String statementType, SqlSource sqlSource) {
        this.statementId = statementId;
        this.paramenterTypeClass = paramenterTypeClass;
        this.resultTypeClass = resultTypeClass;
        this.statementType = statementType;
        this.sqlSource = sqlSource;
    }



    public String getStatementId() {
        return statementId;
    }

    public void setStatementId(String statementId) {
        this.statementId = statementId;
    }

    public Class<?> getParamenterTypeClass() {
        return paramenterTypeClass;
    }

    public void setParamenterTypeClass(Class<?> paramenterTypeClass) {
        this.paramenterTypeClass = paramenterTypeClass;
    }

    public Class<?> getResultTypeClass() {
        return resultTypeClass;
    }

    public void setResultTypeClass(Class<?> resultTypeClass) {
        this.resultTypeClass = resultTypeClass;
    }

    public String getStatementType() {
        return statementType;
    }

    public void setStatementType(String statementType) {
        this.statementType = statementType;
    }

    public SqlSource getSqlSource() {
        return sqlSource;
    }

    public void setSqlSource(SqlSource sqlSource) {
        this.sqlSource = sqlSource;
    }
}
